home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6197 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  648 b 

  1. Path: iafrica.com!ashroff
  2. From: ashroff@iaccess.za (Ashroff Khan)
  3. Newsgroups: comp.lang.c++
  4. Subject: Calling exe's within main?
  5. Date: 10 Feb 1996 22:15:35 GMT
  6. Organization: Internet Africa public service
  7. Message-ID: <4fj5e7$7tr@newnews.iafrica.com>
  8. NNTP-Posting-Host: mickey.iafrica.com
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. I am trying to write a simple program that will connect a network drive, 
  12. then run a specified application, and then disconnect that network drive.
  13.  
  14. But, how do I do the following :
  15.  
  16. call net use   // this is a network command
  17.      app.exe   // this could be any application
  18.  
  19. Any help would be greatly appreciated.
  20.  
  21. Thanks.
  22.